package com.its.equipment.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.its.equipment.pojo.Employment;
import org.springframework.web.bind.annotation.GetMapping;

/**
* @author lenovo
* @description 针对表【gym_employment】的数据库操作Service
* @createDate 2025-04-22 23:07:46
*/
public interface EmploymentService extends IService<Employment> {
    //新增设备
    int addEquipmentService(Employment employment);

    //删除设备
    int delEquipmentService(Integer equipmentId);

    //修改设备
    int updateEquipmentService(Employment employment);

    //根据设备Id查询设备信息
    Employment selectEquipmentById(Integer equipmentId);

    //根据设备名称查询设备
    Employment selectEquipment(String equipmentName);

    //分页查询所有设备
    Page<Employment> getAllEquipment(Integer page,Integer size);
}
